/**
 * Xtable API
 */
import axios from './index'

const searchFrontEndQuestions = (params) => {
  return axios({
    url: '/api/adminApi/FrontEndQuestions/searchFrontEndQuestions',
    method: 'post',
    data: params
  })
}

const addFrontEndQuestions = (params) => {
  return axios({
    url: '/api/adminApi/FrontEndQuestions/addFrontEndQuestions',
    method: 'post',
    data: params
  })
}

const delFrontEndQuestions = (params) => {
  return axios({
    url: '/api/adminApi/FrontEndQuestions/delFrontEndQuestions',
    method: 'post',
    data: params
  })
}
const updateFrontEndQuestions = (params) => {
  return axios({
    url: '/api/adminApi/FrontEndQuestions/updateFrontEndQuestions',
    method: 'post',
    data: params
  })
}
const getAllType = (params) => {
  return axios({
    url: '/api/adminApi/FrontEndQuestions/getAllType',
    method: 'post',
    data: params
  })
}

export {
  addFrontEndQuestions, delFrontEndQuestions, getAllType, searchFrontEndQuestions, updateFrontEndQuestions
}
